package jgl.vajra.kingkong.part.vehicle.contract;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.kingkong.bean.CityChoiceBean;
import jgl.vajra.kingkong.databinding.ActivityWaitingOrderBinding;
import jgl.vajra.kingkong.widget.mvvm.model.BaseModel;
import jgl.vajra.kingkong.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.kingkong.widget.mvvm.viewmodel.BaseViewModel;

public class WaitingOrderContract {
    public abstract static class Model extends BaseModel {

        public abstract Observable<String> cancelOrder(Map<String, Object> map);
    }

    public interface View extends BaseMVVMView {

        void onCancelOrder();

        void onReward();

        void onModifyPrice();

        void returnCancelOrder();

        void onBarrage();
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityWaitingOrderBinding, Model> {

        public abstract void cancelOrder(Map<String, Object> map);
    }
}
